﻿<%@ Page Language="C#" MasterPageFile="~/Admin/QuanLy.master" AutoEventWireup="true"
    CodeFile="LapBaoCao.aspx.cs" Inherits="Admin_LapBaoCao" Title="Xem báo cáo" %>

<%@ Register Assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
    Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="content_t">
        &nbsp;</div>
    <div id="content">
        <div align="center" id="calendar">
            <table style="text-align: center" cellspacing="10px">
                <tr>
                    <td align="left">
                        Từ ngày:
                    </td>
                    <td align="left">
                        Đến ngày:
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Calendar ID="dateTuNgay" runat="server" BackColor="White" BorderColor="#3366CC"
                            BorderWidth="1px" CellPadding="1" DayNameFormat="Shortest" Font-Names="Verdana"
                            Font-Size="8pt" ForeColor="#003399" Height="54px" Width="220px">
                            <SelectedDayStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
                            <SelectorStyle BackColor="#99CCCC" ForeColor="#336666" />
                            <WeekendDayStyle BackColor="#CCCCFF" />
                            <TodayDayStyle BackColor="#99CCCC" ForeColor="White" />
                            <OtherMonthDayStyle ForeColor="#999999" />
                            <NextPrevStyle Font-Size="8pt" ForeColor="#CCCCFF" />
                            <DayHeaderStyle BackColor="#99CCCC" ForeColor="#336666" Height="1px" />
                            <TitleStyle BackColor="#003399" BorderColor="#3366CC" BorderWidth="1px" Font-Bold="True"
                                Font-Size="10pt" ForeColor="#CCCCFF" Height="25px" />
                        </asp:Calendar>
                    </td>
                    <td>
                        <asp:Calendar ID="dateDenNgay" runat="server" BackColor="White" BorderColor="#3366CC"
                            BorderWidth="1px" CellPadding="1" DayNameFormat="Shortest" Font-Names="Verdana"
                            Font-Size="8pt" ForeColor="#003399" Height="67px" Width="220px">
                            <SelectedDayStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
                            <SelectorStyle BackColor="#99CCCC" ForeColor="#336666" />
                            <WeekendDayStyle BackColor="#CCCCFF" />
                            <TodayDayStyle BackColor="#99CCCC" ForeColor="White" />
                            <OtherMonthDayStyle ForeColor="#999999" />
                            <NextPrevStyle Font-Size="8pt" ForeColor="#CCCCFF" />
                            <DayHeaderStyle BackColor="#99CCCC" ForeColor="#336666" Height="1px" />
                            <TitleStyle BackColor="#003399" BorderColor="#3366CC" BorderWidth="1px" Font-Bold="True"
                                Font-Size="10pt" ForeColor="#CCCCFF" Height="25px" />
                        </asp:Calendar>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Button ID="btnNhapHang" runat="server" Text="Xem thống kê nhập hàng" OnClick="btnNhapHang_Click" />
                    </td>
                    <td>
                        <asp:Button ID="btnXuatHang" runat="server" Text="Xem thống kê xuất hàng" OnClick="btnXuatHang_Click" />
                    </td>
                </tr>
            </table>
        </div>
        <div align="center" id="report">
            <CR:CrystalReportViewer ID="rptViewer" runat="server" AutoDataBind="True" Height="50px"
                ReportSourceID="rpt" Width="350px" DisplayGroupTree="False"
                Visible="False" BorderColor="#09308A" BorderStyle="Dashed" 
                BorderWidth="1px" EnableParameterPrompt="False" />
            <CR:CrystalReportSource ID="rpt" runat="server">
                <Report FileName="rptNhapHang.rpt">
                </Report>
            </CR:CrystalReportSource>
            <CR:CrystalReportSource ID="CrystalReportSource1" runat="server">
                <Report FileName="rptXuatHang.rpt">
                </Report>
            </CR:CrystalReportSource>
        </div>
    </div>
    <div id="content_b">
        &nbsp;</div>
</asp:Content>
